package com.itheima.service;

import com.itheima.common.R;
import com.itheima.dto.CourseDto;
import com.itheima.pojo.TbCourse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * (TbCourse)表服务接口
 */
public interface TbCourseService {
    R listCourse(CourseDto courseDto);

    R addCourse(TbCourse tbCourse);

    R modifyCourse(TbCourse tbCourse);

    R getCourseById(Long id);

    R removeCourse(Long id);

    R listSelect();

    R removeCoueses(Long[] ids);
}
